package com.xiaoc.bulldozer.facade;

import com.xiaoc.bulldozer.common.dto.AccountBalanceDto;
import com.xiaoc.bulldozer.common.model.Account;
import com.xiaoc.bulldozer.common.model.WeixinUser;

import java.util.List;

public interface PayFacade {


    public WeixinUser getWeixinUserByPhoneNumber(String phoneNumber);

    public Account getAccountByPhoneNumber(String phoneNumber);

    public void updateBalanceByPhoneNumberAndBalanceType(String phoneNumber, Integer balanceType, Integer balance);

    public List<AccountBalanceDto> getAccountBalanceDtoListByAccount(Account account);

}
